package com.fufan.mtsaas.modules.base.company.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 企业信息表
 *
 * @author Liby
 * @date 2022-03-16
 */
@Data
@ApiModel(description = "企业信息表")
@TableName("t_company")
public class TCompany implements Serializable {

    private static final long serialVersionUID = 1L;

	@TableId("id")
    @ApiModelProperty(value = "企业系统ID")
	private int id;
    @ApiModelProperty(value = "企业名称")
	private String companyName;
    @ApiModelProperty(value = "统一社会信息代码")
	private String uniformSocialCreditCode;
    @ApiModelProperty(value = "企业类型（1-注册/备案人,2-代理人）")
	private String type;
    @ApiModelProperty(value = "所在地区")
	private String location;
    @ApiModelProperty(value = "企业住所")
	private String address;
    @ApiModelProperty(value = "法定代表人姓名")
	private String legalName;
    @ApiModelProperty(value = "法定代表人证件类型：1-居民身份证, 2-护照, 3-港澳通行证,")
	private String legalIdentity;
    @ApiModelProperty(value = "法定代表人证件号")
	private String legalIdentityNo;
    @ApiModelProperty(value = "生产地区")
	private String productionLocation;
    @ApiModelProperty(value = "生产地址")
	private String productionAddress;
    @ApiModelProperty(value = "登记状态：1-存续（在营，开业，在册），2-吊销，3-注销，4-迁出")
	private String registryStatus;
    @ApiModelProperty(value = "营业执照电子档案")
	private String licenseElectronicArchives;
    @ApiModelProperty(value = "医疗器械生产许可证")
	private String productionCertificate;
    @ApiModelProperty(value = "医疗器械生产许可证有效期至")
    @JsonFormat(pattern="yyyy-MM-dd")
	private Date productionExpiryDate;
    @ApiModelProperty(value = "医疗器械生产备案凭证号")
	private String productionFilingCertificateNo;
    @ApiModelProperty(value = "医疗器械经营备案凭证号")
	private String businessEngageCertificateNo;
    @ApiModelProperty(value = "发证机关/备案部门")
	private String certificateOrgan;
    @ApiModelProperty(value = "发证日期")
    @JsonFormat(pattern="yyyy-MM-dd")
	private Date issueDate;
    @ApiModelProperty(value = "生产许可证电子档案")
	private String productionElectronicArchives;
    @ApiModelProperty(value = "生产备案凭证")
	private String productionFilingElectronicArchives;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date createTime;
    @ApiModelProperty(value = "创建人")
	private String createBy;
    @ApiModelProperty(value = "修改时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
	private Date updateTime;
    @ApiModelProperty(value = "修改人")
	private String updateBy;
    @ApiModelProperty(value = "启用状态 0：正常 1：禁用")
	private Integer isEnabled;
//    @ApiModelProperty(value = "企业联系人姓名")
//    private String companyContactName;
//    @ApiModelProperty(value = "企业联系人邮箱")
//    private String companyContactEmail;
//    @ApiModelProperty(value = "企业联系人电话")
//    private String companyContactTelephone;
//    @ApiModelProperty(value = "企业联系人手机")
//    private String companyContactPhone;
    @ApiModelProperty(value = "药监局Appid")
    private String appid;
    @ApiModelProperty(value = "药监局AppSecret")

    private String appSecret;
    @ApiModelProperty(value = "住所-省")
    private String locationProvince;
    @ApiModelProperty(value = "住所-市")
    private String locationCity;
    @ApiModelProperty(value = "住所-区")
    private String locationDistrict;
    @ApiModelProperty(value = "生产地址-省")
    private String productionLocationProvince;
    @ApiModelProperty(value = "生产地址-市")
    private String productionLocationCity;
    @ApiModelProperty(value = "生产地址-区")
    private String productionLocationDistrict;

    @ApiModelProperty(value = "企业官网")
    private String companyUrl;
    @ApiModelProperty(value = "企业描述")
    private String companyDes;
    @ApiModelProperty(value = "企业logo")
    private String companyLogo;
    @ApiModelProperty(value = "企业微信")
    private String companyWeiXin;
    private Integer maxUser;
    @ApiModelProperty(value = "主账号人姓名")
    private String mainAccountName;
    @ApiModelProperty(value = "主账号手机号")
    private String mainMobile;
    @ApiModelProperty(value = "备注")
    private String remark;
}
